home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{7E8017C1-09A8-11D0-98CE-00AA006DB209}#1.0#0"; "Infotick.ocx"
- Begin VB.Form Form1
- BackColor = &H00C0C0C0&
- Caption = "Form1"
- ClientHeight = 4275
- ClientLeft = 60
- ClientTop = 930
- ClientWidth = 6945
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 4275
- ScaleWidth = 6945
- StartUpPosition = 2 'CenterScreen
- Begin INFOTICKLib.InfoTick InfoTick4
- Height = 615
- Left = 480
- TabIndex = 3
- Top = 3240
- Width = 6135
- _Version = 65536
- _ExtentX = 10821
- _ExtentY = 1085
- _StockProps = 125
- Text = "Higher Please!"
- ForeColor = 255
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Caption = "Higher Please!"
- ForeColor = 255
- BackColor = 12632256
- Scrolling = 0 'False
- TimerInterval = 100
- End
- Begin INFOTICKLib.InfoTick InfoTick3
- Height = 495
- Left = 840
- TabIndex = 2
- Top = 360
- Width = 4455
- _Version = 65536
- _ExtentX = 7858
- _ExtentY = 873
- _StockProps = 125
- Text = "IBM | 5 1/4 | GSU | 2 1/6 | IIT | 1 7/8 | PPW | 1 1/4 | LPL | 1 1/8 | GLF | 1 1/2 | HPL | 2 1/8"
- ForeColor = 65280
- BackColor = 32768
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Caption = "IBM | 5 1/4 | GSU | 2 1/6 | IIT | 1 7/8 | PPW | 1 1/4 | LPL | 1 1/8 | GLF | 1 1/2 | HPL | 2 1/8"
- OffsetText = -1 'True
- End
- Begin INFOTICKLib.InfoTick InfoTick2
- Height = 495
- Left = 720
- TabIndex = 1
- Top = 2280
- Width = 5655
- _Version = 65536
- _ExtentX = 9975
- _ExtentY = 873
- _StockProps = 125
- Text = "Default Caption"
- ForeColor = 65535
- BackColor = 16711680
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 18
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 18
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = 65535
- BackColor = 16711680
- Scrolling = 0 'False
- TimerInterval = 1000
- End
- Begin INFOTICKLib.InfoTick InfoTick1
- Height = 495
- Left = 720
- TabIndex = 0
- Top = 1080
- Width = 5415
- _Version = 65536
- _ExtentX = 9551
- _ExtentY = 873
- _StockProps = 125
- Text = "Scrolling fast...."
- ForeColor = 255
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Caption = "Scrolling fast...."
- ForeColor = 255
- BackColor = 12632256
- ScrollDelay = 0
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim nCounter
- Dim nWait
- Dim nCount
- Dim flag
- Private Sub Form_Load()
- nCounter = 0
- nWait = 0
- nCount = 0
- flag = 0
- End Sub
- Private Sub Form_Resize()
- InfoTick3.Move 0, 0, ScaleWidth, InfoTick3.Height
- End Sub
- Private Sub InfoTick2_Timer()
- If nCounter = 0 Then
- InfoTick2.Text = "First Line of Text"
- End If
- If nCounter = 1 Then
- InfoTick2.Text = "Second Line of Text"
- End If
- If nCounter = 2 Then
- InfoTick2.Text = "One more Line of Text"
- nCounter = 0
- End If
- nCounter = nCounter + 1
- End Sub
- Private Sub InfoTick3_Click()
- MsgBox "click was fired"
- End Sub
- Private Sub InfoTick3_DblClick()
- 'MsgBox "Double click was fired"
- End Sub
- Private Sub InfoTick3_KeyDown(KeyCode As Integer, Shift As Integer)
- 'MsgBox "keydown was fired"
- End Sub
- Private Sub InfoTick3_KeyPress(KeyAscii As Integer)
- ' MsgBox "Keypress was fired"
- End Sub
- Private Sub InfoTick3_KeyUp(KeyCode As Integer, Shift As Integer)
- ' MsgBox "keyup was fired"
- End Sub
- Private Sub InfoTick3_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
- 'MsgBox "mousedown was fired"
- End Sub
- Private Sub InfoTick3_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
- 'MsgBox "mousemove was fired"
- End Sub
- Private Sub InfoTick3_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
- ' MsgBox "mouseup was fired"
- End Sub
- Private Sub InfoTick4_Timer()
- If nWait < 5 And nCount > 30 Then
- nWait = nWait + 1
- If nWait = 5 Then
- nCount = 30
- nWait = 0
- End If
- ElseIf flag = 0 Then
- nCount = nCount + 1
- InfoTick4.Font.Size = nCount
- If nCount > 30 Then
- flag = 1
- InfoTick4.Text = "Lower Please!"
- End If
- ElseIf flag = 1 Then
- nCount = nCount - 1
- InfoTick4.Font.Size = nCount
- If nCount < 2 Then
- flag = 0
- InfoTick4.Text = "Higher Please!"
- End If
- End If
- End Sub
-